package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.FishConfig;
import com.nys.cqhttp.model.FishConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FishConfigMapper {
    long countByExample(FishConfigExample example);

    int deleteByExample(FishConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FishConfig record);

    int insertSelective(FishConfig record);

    List<FishConfig> selectByExample(FishConfigExample example);

    FishConfig selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FishConfig record, @Param("example") FishConfigExample example);

    int updateByExample(@Param("record") FishConfig record, @Param("example") FishConfigExample example);

    int updateByPrimaryKeySelective(FishConfig record);

    int updateByPrimaryKey(FishConfig record);
}